<template>
	<view class="party-main-title" @click="onclick">
		<view>
			<slot></slot>
		</view>
		<!-- <view style="margin-left:auto">
			<image style="width:28rpx;height:28rpx ;" src="../../static/images/newIcon/icon/go.png" mode=""></image>
		</view> -->
	</view>
</template>

<script>
	export default {

		data() {
			return {

			}
		},
		methods: {
			onclick() {
				this.$emit('click')
			}
		}
	}
</script>

<style>
	.party-main-title {
		font-size: 32rpx;
		color: #333333;
		font-family: Source Han Sans CN;
		font-weight: bold;
		display: flex;
		align-items: center;

	}

	.party-main-title::before {
		content: "";
		display: inline-block;
		width: 18rpx;
		height: 30rpx;
		background: #4874FF;
		border-radius: 10rpx;
		margin-right: 16rpx;
	}
</style>
